package com.datong.server.decorator.dressup;

//不同衣服装饰类
public class DecoratorPerson extends Person{
    protected Person person;

    public void decorate(Person component){
        this.person = component;
    }
    @Override
    public void show() {
        if(this.person!=null){
            person.show();
        }
    }
}

